/* tagStyle.css */

/* 通用 tag 样式 */
.tag:hover {
  transform: scale(1.2) rotate(-1deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

@keyframes float {
  0% { transform: scale(1.2) translateY(0); }
  50% { transform: scale(1.2) translateY(-4px); }
  100% { transform: scale(1.2) translateY(0); }
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  border-radius: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* 鼠标悬浮动画 */
.tag:hover {
  transform: scale(1.2) rotate(-1deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  filter: brightness(1.1);
}

/* 序号为圆形 tag */
.tag-index {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e3f2fd;
  color: #1976d2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* 彩色标签样式 */
.tag-blue {
  background-color: #e3f2fd;
  color: #1976d2;
}
.tag-orange {
  background-color: #fff3e0;
  color: #ef6c00;
}
.tag-purple {
  background-color: #ede7f6;
  color: #673ab7;
}
.tag-green {
  background-color: #e8f5e9;
  color: #2e7d32;
}
.tag-gray {
  background-color: #eceff1;
  color: #607d8b;
}

.tag-purple {
  background-color: #ede7f6;
  color: #673ab7;
}
.tag-cyan {
  background-color: #e0f7fa;
  color: #00838f;
}
.tag-teal {
  background-color: #e0f2f1;
  color: #00695c;
}
.tag-pink {
  background-color: #fce4ec;
  color: #d81b60;
}
.tag-green {
  background-color: #e8f5e9;
  color: #2e7d32;
}
.tag-gray {
  background-color: #eceff1;
  color: #607d8b;
}